#define  _CRT_SECURE_NO_WARNINGS
#include "BinaryTree.h"

int main()
{
	BTNode* root = CreatBinaryTree();
	
	PrevOrder(root);
	printf("\n");
	
	InOrder(root);
	printf("\n");
	
	PostOrder(root);
	printf("\n");
	
	
	int size1 = BTreeSize(root);
	printf("%d \n", size1);

	int size2 = BTreeLeafSize(root);
	printf("%d \n", size2);

	int size3 = BTreeHeight(root);
	printf("%d \n", size3);
	
	int size4 = BTreeLevalKSize(root, 3);
	int size5 = BTreeLevalKSize(root, 4);
	printf("%d \n", size4);
	printf("%d \n", size5);

	return 0;
}